package com.hm.hall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@ServletComponentScan
@MapperScan("com.hm.hall.hall.commons.dao")
@EnableAsync
@EnableDiscoveryClient
public class HallApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(HallApplication.class);
        springApplication.setAddCommandLineProperties(false);
        springApplication.run(args);
    }

}
